package ee.sepp.aui.ui.menu;

import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;

import ee.sepp.aui.ui.MyVaadinUI;

public class MenuButtonListener implements Button.ClickListener {
	String menuitem;

	public MenuButtonListener(String menuitem) {
		this.menuitem = menuitem;
	}

	@Override
	public void buttonClick(ClickEvent event) {
		// Navigate to a specific state
		//getUI().getNavigator().navigateTo(MyVaadinUI.MAINVIEW + "/" + menuitem);
	}
}
